package com.fusuhai.bean;


import java.time.LocalDate;

public class UserBean {

    private int userId; //用户编号

    private String userAccount;//用户账号

    private String userPwd;//密码

    private String userLevel;//管理权限

    private String userName;//真实姓名

    private int dateId;

    private LocalDate date;

    public UserBean() {
    }

    public UserBean(String userAccount, String userPwd, String userLevel, String userName) {
        this.userAccount = userAccount;
        this.userPwd = userPwd;
        this.userLevel = userLevel;
        this.userName = userName;
    }

    public int getDateId() {
        return dateId;
    }

    public void setDateId(int dateId) {
        this.dateId = dateId;
    }

    public UserBean(String userAccount, LocalDate date) {
        this.userAccount = userAccount;
        this.date = date;
    }

    public LocalDate getDate() {
        return date;
    }

    public void setDate(LocalDate date) {
        this.date = date;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }

    public String getUserPwd() {
        return userPwd;
    }

    public void setUserPwd(String userPwd) {
        this.userPwd = userPwd;
    }

    public String getUserLevel() {
        return userLevel;
    }

    public void setUserLevel(String userLevel) {
        this.userLevel = userLevel;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    @Override
    public String toString() {
        return "UserBean{" +
                "userId=" + userId +
                ", userAccount='" + userAccount + '\'' +
                ", userPwd='" + userPwd + '\'' +
                ", userLevel='" + userLevel + '\'' +
                ", userName='" + userName + '\'' +
                '}';
    }
}
